package com.example.demo.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * entity：场次
 * @author Administrator
 *
 */
public class Round2 implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 5775707297364174433L;

	private Integer id;

    private Integer mid;
    
    private Integer yid;

    private Date pstart;

    private Date pend;

    private BigDecimal pprice;

    private Integer ytid;

    private String ytlayout;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getMid() {
		return mid;
	}

	public void setMid(Integer mid) {
		this.mid = mid;
	}


	public Integer getYid() {
		return yid;
	}

	public void setYid(Integer yid) {
		this.yid = yid;
	}

	public BigDecimal getPprice() {
		return pprice;
	}

	public void setPprice(BigDecimal pprice) {
		this.pprice = pprice;
	}

	public Integer getYtid() {
		return ytid;
	}

	public void setYtid(Integer ytid) {
		this.ytid = ytid;
	}

	public String getYtlayout() {
		return ytlayout;
	}

	public void setYtlayout(String ytlayout) {
		this.ytlayout = ytlayout;
	}

	public void setPstart(Date pstart) {
		this.pstart = pstart;
	}

	public void setPend(Date pend) {
		this.pend = pend;
	}

	public Round2() {
		
	}

	public Round2(Integer mid, Integer yid, Date pstart, Date pend, BigDecimal pprice, Integer ytid) {
		this.mid = mid;
		this.yid = yid;
		this.pstart = pstart;
		this.pend = pend;
		this.pprice = pprice;
		this.ytid = ytid;
	}

	@Override
	public String toString() {
		return "Round2 [id=" + id + ", mid=" + mid + ", yid=" + yid + ", pstart=" + pstart + ", pend=" + pend
				+ ", pprice=" + pprice + ", ytid=" + ytid + ", ytlayout=" + ytlayout + "]";
	}

	public Date getPstart() {
		return pstart;
	}

	public Date getPend() {
		return pend;
	}
	
	

    
}